/*
 * @Descripttion: 
 * @version: @ 1.0.0
 * @Author: 朱江洲
 * @Date: 2021-12-27 14:36:42
 * @LastEditors: 朱江洲
 * @LastEditTime: 2022-01-01 19:33:48
 */
import request from "@/utils/request.js";


//检查是否购买
export const check = params => {
    return request({
        method: 'get',
        url: '/company/vip/check',
        params
    })
}

// 获取微信二维码
export const getWxQRCode = params => {
    return request({
        method: 'get',
        url: '/company/vip/getWxQRCode',
        params
    })
}

// 获取微信订单信息
export const getWxOrder = params => {
    return request({
        method: 'get',
        url: '/company/vip/getWxOrder',
        params
    })
}
// 关闭微信订单
export const closeWxOrder = params => {
    return request({
        method: 'get',
        url: '/company/vip/closeWxOrder',
        params
    })
}

// 获取支付宝二维码
export const getAliQRCode = params => {
    return request({
        method: 'get',
        url: '/company/vip/getAliQRCode',
        params
    })
}

// 获取支付宝订单信息
export const getAliOrder = params => {
    return request({
        method: 'get',
        url: '/company/vip/getAliOrder',
        params
    })
}
// 关闭支付宝订单
export const closeAliCode = params => {
    return request({
        method: 'get',
        url: '/company/vip/closeAliCode',
        params
    })
}

// 获取价格
export const getAccount = params => {
    return request({
        method: 'get',
        url: '/company/vip/getAccount',
        params
    })
}


// 获取人数
export const getNumber = params => {
    return request({
        method: 'get',
        url: '/company/vip/getNumber',
        params
    })
}

// 获取服务商
export const getFwList = params => {
    return request({
        method: 'get',
        url: '/company/accountManage/list',
        params
    })
}

// 获取证书套餐下拉

export const getServicesInfo = params => {
    return request({
        method: 'get',
        url: '/cert/certInfo/getServicesInfo',
        params
    })
}

// 套餐信息
export const getPackageInfo = data => {
    return request({
        method: 'post',
        url: '/cert/certInfo/getPackageInfo',
        data
    })
}